package com.sunyur.tailor.channel.service.inner.protocol.param;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @ClassName UpdateProtocolApprovalParam
 * @Description 接收协议审批结果请求主体
 * @Author hao.tian
 * @Date 2021/5/14
 * @Version v1.0
 */
@Data
public class UpdateProtocolApprovalParam implements Serializable{


	private static final long serialVersionUID = 4756414544300988484L;
	/**
	 * 协议系列号
	 */
	private Long protocolSerialNumber;

	/**
	 * 协议版本号
	 */
	private Double protocolVersion;

	/**
	 * 审批最终状态(1通过2驳回)
	 */
	private Integer finishStatus;
	/**
	 * 审批记录列表
	 */
	private List<AuditRecordList> auditRecordList;
	@Data
	public static class AuditRecordList implements  Serializable{

		private static final long serialVersionUID = 7901619164249987433L;

		/**
		 * 审批人姓名
		 */
		private String auditorName;

		/**
		 * 审批人Code
		 */
		private String auditorCode;

		/**
		 * 审批时间
		 */
		private Date auditTime;

		/**
		 * 1通过2驳回
		 */
		private Integer status;

		/**
		 * 审批意见
		 */
		private String statusDesc;

	}
}
